package com.softeem.bean;

import java.sql.Timestamp;

public class Order {
    private String orderId;//订单编号
    private Timestamp createTime;
    private Double totalMoney;
    private Integer status;
    private Integer userId;

    public Order() {
    }

    public Order(String orderId, Timestamp createTime, Double totalMoney, Integer status, Integer userId) {
        this.orderId = orderId;
        this.createTime = createTime;
        this.totalMoney = totalMoney;
        this.status = status;
        this.userId = userId;
    }

    /**
     * 获取
     * @return orderId
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取
     * @return createTime
     */
    public Timestamp getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return totalMoney
     */
    public Double getTotalMoney() {
        return totalMoney;
    }

    /**
     * 设置
     * @param totalMoney
     */
    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String toString() {
        return "Order{orderId = " + orderId + ", createTime = " + createTime + ", totalMoney = " + totalMoney + ", status = " + status + ", userId = " + userId + "}";
    }
}
